let { Schema, model } = require("mongoose");

const bannerModel = new Schema(
    {
        //
        bannerName: String,
        img: String,
        url: String,
        status: Number,
        creater: String,
    },
    { timestamps: true, versionKey: false }
);

module.exports.bannerModel = model("banner", bannerModel, "banner");
